package com.xydtech.ecard.ecard.service;

import com.xydtech.common.model.ResponseModel;
import com.xydtech.ecard.config.domain.EcardDeptPackageOrg;
import com.xydtech.ecard.ecard.domain.EcardApiVisitRecord;
import com.xydtech.ecard.statistics.domain.EcardUserChecking;

import java.util.List;
import java.util.Map;

/**
 * 考勤打卡接口服务
 *
 * @author yjs
 * @date 2022/7/29 14:10
 */

public interface EcardApiPunchInService {


    /**
     * 查询本周包保（固定）打卡统计
     *
     * @author yjs
     * @date 2022/7/29 13:58
     */

    public List<Map<String, Object>> getFixedWeekPunchInCount(Long userId) throws Exception;

    /**
     * 查询本周营销（非固定）打卡列表
     *
     * @author yjs
     * @date 2022/7/29 16:22
     */
    public List<EcardUserChecking> getNotFixedWeekPunchInList(Long userId) throws Exception;

    ;

    /**
     * 查询不同打卡类型打卡记录
     *
     * @author yjs
     * @date 2022/7/29 14:06
     */

    public List<EcardUserChecking> getPunchInRecordList(EcardUserChecking userChecking) throws Exception;

    /**
     * 查询机构下包保（固定）打卡点
     *
     * @author yjs
     * @date 2022/7/29 14:08
     */

    public List<EcardDeptPackageOrg> getFixedPunchPoint(EcardDeptPackageOrg ecardDeptPackageOrg) throws Exception;


    /**
     * 添加打卡记录
     *
     * @author yjs
     * @date 2022/7/29 14:08
     */
    public int addPunchPoint(EcardUserChecking userChecking) throws Exception;
}
